
{%include file="header.html" %}  

<div class="break"></div>

<div class="warp manage_page">
{%include file="user/user_manage_menu.html" menu='user_message' menu_detail='user_fans'%} 



<div class="manage_body">
<form id="form1">
<div class="manage_body_content ">

	<h3>我的粉丝</h3>

	<div style="height:1px;witdh:100%;background-color:#D2D2D2;"></div>
	<ul class="at_me">
	{%section name="count" loop=$g_show.list%}
		<li>
		
		<div class="user_info">
			<div class="user_icon"><a href="#"><img width=50 height=50 src="{%$g_show.list[count].user_info.user_pic%}"></a></div>
		</div>
		  
		  <div class="content">
			 
			 <div class="content_left fl">
			<p>{%$g_show.list[count].user_info.user_nickname%}</p>
			<p>关注 {%$g_show.list[count].user_info.count_follow%} 粉丝 {%$g_show.list[count].user_info.count_fans%}</p>
			<p>{%$g_show.list[count].user_info.desc%}</p>
			
			 </div>

			 <div class="content_right fr user_relation" uid="{%$g_show.list[count].user_info.uid%}">
				{%if $g_show.list[count].is_followed_by_uid%}
				 <div style="" class="W_addbtn_even huxiang_div"><span class="icon_huxiang "></span><i>|</i><a href="javascript:;" class="del_atten W_linkb unfollowBtn"><em>取消</em></a></div>
				{%else%}
				  <div  class="followStatusPlace add_div"><a class="add_atten follow_inviteBtn" href="#" nickname="">加关注</a></div>
				 {%/if%}
				 </div>
			 </div>
			 

			
		  
		</li>
	{%/section%}
	</ul>

	<li class="page">{%$g_show.page_bar%}</li>
</div>



</form>
<div class="break"></div>




<script src ="/js/common/user_message.js"></script>
<script type="text/javascript" language="javascript">

YOUXIXIU.MAIN.CheckMessage.init();
YOUXIXIU.MAIN.BindAddAtten.init({});


$("#province").find("option[value='{%$g_show.current_user_info.province%}']").attr("selected",true);
$(".sex[value='{%$g_show.current_user_info.sex%}']").attr("checked","checked");

$("#save_btn").bind("click",function(){

	$.ajax({
		url:"/interface/user/json_user_edit_post.php",
		type:"post",
		data:$("#form1").serialize(),
		dataType:"json",
    complete:function(xhr,status){
      var result = eval("("+(xhr.responseText)+")");
			
			if(result.error == "0"){
			alert("成功");
				location.reload();                   
			}else{
				var errmsg = result.errmsg;
				alert(errmsg)
			}

			widget = null;
		}
	});
});

</script>



</div>
</div>


{%include file="footer.html" %}  



